#include <QCoreApplication>
#include <iostream>

using namespace std;

struct Date{
    int day = 14;
    int month = 1;
    int year = 2021;

};

void print(Date d){
    cout << d.day<< "." << endl;
}

int main(int argc, char *argv[])
{
	QCoreApplication a(argc, argv);
	//Create object
	Date today;
	today.day = 14;
	today.month = 1;
	today.year = 2021;
	//Output on Display
    print(today);

	return a.exec();
}
